<template>

    <van-nav-bar
  title="购物车"
  left-text="返回"
  left-arrow
  @click-left="onClickLeft"
/>
    <van-skeleton title :row="3" />

    <van-card
  num="2"
  price="2.00"
  desc="描述信息"
  title="商品标题"
  thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg"
>
  <template #tags>
    <van-tag plain type="primary">标签</van-tag>
    <van-tag plain type="primary">标签</van-tag>
  </template>
  <template #footer>
    <van-button size="mini">-</van-button>
    <van-button size="mini">+</van-button>
  </template>
</van-card>

<van-card
  num="2"
  price="2.00"
  desc="描述信息"
  title="商品标题"
  thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg"
>
  <template #tags>
    <van-tag plain type="primary">标签</van-tag>
    <van-tag plain type="primary">标签</van-tag>
  </template>
  <template #footer>
    <van-button size="mini">-</van-button>
    <van-button size="mini">+</van-button>
  </template>
</van-card>


    <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit">
  <van-checkbox v-model="checked">全选</van-checkbox>
  <template #tip>
    你的收货地址不支持配送, <span @click="onClickLink">修改地址</span>
  </template>
</van-submit-bar>

</template>

<script setup>
import { ref } from "vue";
const checked=ref()
const onClickLeft = () => history.back();
</script>

<style lang="scss" scoped>

</style>